/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tesam.gedeon.entity;

import java.sql.Timestamp;

/**
 *
 * @author joelpacheco
 */
public class Rol extends Entity {

    private String name;
    private int rolParentId;
    private String description;
    private SystemUser systemUser;

    public Rol() {
        
    }

    
    
    public Rol(String name, int rolParentId, String description, int id, int createdBy, int modifiedById, Timestamp dateCreated, Timestamp dateModified, Timestamp viewedTime, int status, int deleted, int presence, int ownerId) {
        super(id, createdBy, modifiedById, dateCreated, dateModified, viewedTime, status, deleted, presence, ownerId);
        this.name = name;
        this.rolParentId = rolParentId;
        this.description = description;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getRolParentId() {
        return rolParentId;
    }

    public void setRolParentId(int rolParentId) {
        this.rolParentId = rolParentId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public SystemUser getSystemUser() {
        return systemUser;
    }

    public void setSystemUser(SystemUser systemUser) {
        this.systemUser = systemUser;
    }
}
